(function($) { 
    $.fn.toggleDisabled = function(){ 
        return this.each(function(){ 
            this.disabled = !this.disabled; 
        }); 
    }; 
})(jQuery); 
